package grafico.builder;

import contatos.model.Contato;
import java.util.TreeSet;
import javax.swing.JPanel;
import org.jfree.chart.JFreeChart;
import org.jfree.data.category.DefaultCategoryDataset;

/**
 *
 * @author felipe
 */
public abstract class AbstractGraficoBuilder {

    TreeSet<Contato> contatos;
    DefaultCategoryDataset dados;
    JFreeChart grafico;

    public AbstractGraficoBuilder(TreeSet<Contato> contatos) {
        this.contatos = contatos;
        this.dados = new DefaultCategoryDataset();
    }

    public abstract void gerarDataSet();

    public abstract void gerarGrafico();

    public abstract JPanel getPanel();
}
